package com.lizx.framework.web.smart.framework.core;

import com.lizx.framework.web.smart.framework.core.helper.SmartBeanHelper;
import com.lizx.framework.web.smart.framework.core.helper.SmartClassHelper;
import com.lizx.framework.web.smart.framework.core.helper.SmartControllerHelper;
import com.lizx.framework.web.smart.framework.core.helper.SmartIocHelper;
import com.lizx.framework.web.smart.framework.core.utils.SmartClassLoadUtil;
import org.apache.commons.lang3.ClassUtils;

/**
 * 加载helper
 *
 * @Author: lizx
 * @Description:
 * @Date: Create in 2019/1/18 11:29 AM
 */
public final class HelperLoader {

    public static void init() {
        Class<?>[] classes = {SmartClassHelper.class, SmartBeanHelper.class, SmartIocHelper.class, SmartControllerHelper.class};

        for (Class<?> cls : classes) {
            SmartClassLoadUtil.loadClass(cls.getName(), false);
        }
    }
}
